package com.authority.framework.web.service.impl;

import com.authority.framework.base.service.impl.BaseServiceImpl;
import com.authority.framework.web.domain.SysOperLogEntity;
import com.authority.framework.web.service.SysOperLogService;
import org.beetl.sql.core.SQLManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * @program: authority
 * @description: 岗位 impl层
 * @author: Mr.Yan
 * @create: 2018-11-15 13:47
 **/
@Service
@Transactional
public class SysOperLogServiceImpl extends BaseServiceImpl<SysOperLogEntity> implements SysOperLogService {

	@Autowired
	private SQLManager sqlManager;

	//  参数
	private Map<String,String> paramMap = null;

	/**
	* @Description: 清空操作日志数据
	* @Param:
	* @return:
	* @Author: Mr.Yan
	* @Date: 2018/12/27
	*/

	@Override
	public void deleteAll() {
		sqlManager.update("system/SysOperLogSql.deleteAll");
	}
}
